package ${packageName}.pojo.resp;

import java.util.Date;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 分页查询${tableComment}出参
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ${queryResDto} implements Serializable {
<#if columns??>
    <#list columns as column>
        <#if column.type='VARCHAR'||column.type='TEXT'||column.type='CHAR' ||column.type='LONGTEXT' || column.type='JSON'>

    /**
     * ${column.remark}
     */
    private String ${column.propertyName?uncap_first};
        </#if>
        <#if column.type='INT' || column.type='TINYINT'>

    /**
     * ${column.remark}
     */
    private Integer ${column.propertyName?uncap_first};
        </#if>
        <#if column.type='DATETIME'>

    /**
     * ${column.remark}
     */
    private Date ${column.propertyName?uncap_first};
        </#if>
        <#if column.type='BIGINT'>
            <#if column.propertyName != 'TenantId' && column.propertyName != 'UserId' && column.propertyName != 'Creator' && column.propertyName != 'Updater'>

    /**
     * ${column.remark}
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long ${column.propertyName?uncap_first};
            </#if>
        </#if>
        <#if column.type='DOUBLE' || column.type='DECIMAL'>

    /**
     * ${column.remark}
     */
    private BigDecimal ${column.propertyName?uncap_first};
        </#if>
        <#if column.type='BIT'>
            <#if column.propertyName != 'Deleted'>

    /**
     * ${column.remark}
     */
    private Boolean ${column.propertyName?uncap_first};
            </#if>
        </#if>
    </#list>
</#if>
}